package Applet;

import javax.swing.*;
import java.awt.*;

public class AppletDemo extends JApplet {

    public void init(){
        EventQueue.invokeLater(new Runnable() {
            @Override
            public void run() {
                JLabel label=new JLabel("Not a Hello,World applet",SwingConstants.CENTER);
                add(label);
            }
        });
    }
}
